package com.zkingsoft.rhi.entity;

import com.baomidou.mybatisplus.annotation.*;
import java.io.Serializable;
import java.util.Date;
import com.zkingsoft.rhi.excel.ExcelColumn;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 可移动文物表
 * </p>
 *
 * @author xieguo
 * @since 2020-11-04
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="可移动文物对象", description="可移动文物表")
public class MovableHistoricalRelics implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ExcelColumn(value = "文物藏品名称",col = 2)
    @ApiModelProperty(value = "文物藏品名称")
    private String name;

    @ExcelColumn(value = "藏品总登记号",col = 3)
    @ApiModelProperty(value = "藏品登记号")
    private String registrationNumber;

    @ExcelColumn(value = "文物藏品数量（件/套）",col = 4)
    @ApiModelProperty(value = "文物藏品数量")
    private Integer amount;

    @ExcelColumn(value = "文物藏品展出情况",col = 5)
    @ApiModelProperty(value = "文物藏品展出情况")
    private String isShow;

    @ExcelColumn(value = "级别",col = 6)
    @ApiModelProperty(value = "级别")
    private String level;

    @ApiModelProperty(value = "国有单位id")
    private Integer souId;

    @TableField(fill = FieldFill.INSERT)
    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    @ApiModelProperty(value = "更新时间")
    private Date updateTime;


}
